#pragma once
class Afactor
{
protected:
	virtual void exitsub(){}
	virtual int initsub(){return 0; }
public:
	Afactor(void);
	virtual ~Afactor(void);

	//virtual int create();
	int init();
	void exit();
	//virtual void destory();
};
extern Afactor * gafactor;
